GetTrackMedia
TheGetTrackMedia
function allows you to determine the media that contains a track's sample data.
pascal Media GetTrackMedia (Track theTrack);
theTrack
- Specifies the track for this operation. Your application obtains this track identifier from such Movie Toolbox functions as
NewMovieTrack
andGetMovieTrack
(described on page 2-136 and page 2-188, respectively).DESCRIPTION
TheGetTrackMedia
function returns the media identifier that corresponds to the media that specifies the track's sample data. If the function could not locate the media, it sets this returned value tonil
.ERROR CODES
invalidTrack -2009 This track is corrupted or invalid